package com.doaction.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.TabPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class DoAction implements EntryPoint {

	@Override
	public void onModuleLoad() {
		TabPanel tp = new TabPanel();
		tp.add(new UserLoginPanel(), "Login");
		tp.add(new UserSignupPanel(), "Sign up");		

		// Show the 'bar' tab initially.
		tp.selectTab(0);

		// Add it to the root panel.
		RootPanel.get().add(tp);		
	}

}
